package com.hz.basic.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.common.utils.PageUtils;
import com.hz.common.utils.Query;

import com.hz.basic.dao.CbPcsystemEditionDao;
import com.hz.basic.entity.CbPcsystemEditionEntity;
import com.hz.basic.service.CbPcsystemEditionService;


@Service("cbPcsystemEditionService")
public class CbPcsystemEditionServiceImpl extends ServiceImpl<CbPcsystemEditionDao, CbPcsystemEditionEntity> implements CbPcsystemEditionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CbPcsystemEditionEntity> page = this.page(
                new Query<CbPcsystemEditionEntity>().getPage(params),
                new QueryWrapper<CbPcsystemEditionEntity>()
        );

        return new PageUtils(page);
    }

}